package com.ytsky.hctechnologysys.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.sql.Timestamp;

/**
 * @author Dell
 */
@Data
public class Educate {

    private  int eid;

    @NotBlank(message = "培训名称不能为空")
    @Size(max = 20, message = "培训名称长度不能超过20字")
    private  String etrainingName;

    private  String etrainingPurpose;

    private Timestamp estartTime;

    private Timestamp eendTime;

    private String etrainingMaterials;

    @NotBlank(message = "培训讲师不能为空")
    private String etrainingInstructor;

    @NotBlank(message = "培训人员不能为空")
    private String etrainingPersonnel;


    private Timestamp ecreateDate;

    @NotBlank(message = "请填写是否完成")
    private String eWheathe;

    private String eEffect;

    private String eSummary;


}
